package panel.event;

import java.awt.event.ActionEvent;

public class PropertyChangedEvent {
	private int property;
	private int index;
	private int op;
	private double value;
	
	public static final int MOVE = 0;
	public static final int SET = 1;
	
	public PropertyChangedEvent( int property, int index, int op, double value ) {
		this.property = property;
		this.index = index;
		this.op = op;
		this.value = value;
	}
	
	public int getProperty() {
		return property;
	}
	
	public int getIndex() {
		return index;
	}
	
	public int getOp() {
		return op;
	}
	
	public double getChange() {
		return value;
	}
}
